﻿using System;
using System.ComponentModel.DataAnnotations;
namespace Think.Lenovo.Com.Models.Users
{
    /// <summary>
    /// 用户信息实体
    /// </summary>
    public class UserInfoModel
    {
        /// <summary>
        /// 自增id
        /// </summary>
        public int Id { set; get; }

        /// <summary>
        /// 用户编号
        /// </summary>
        public int UserId { set; get; }

        /// <summary>
        /// 真实姓名
        /// </summary>
        [StringLength(50)]
        public String RealName { set; get; }

        /// <summary>
        /// 公司地址
        /// </summary>
        public String CompanyAddress { set; get; }

        /// <summary>
        /// 公司Email
        /// </summary>
        public String CompanyEmail { set; get; }

        /// <summary>
        /// 公司电话
        /// </summary>
        public String CompanyTel { set; get; }

        /// <summary>
        /// 用户电话号码
        /// </summary>
        public String UserPhoneNumber { set; get; }

        /// <summary>
        /// 公司所在大区id
        /// </summary>
        public int CompanyRegion { set; get; }

        /// <summary>
        /// 公司所在区域名称
        /// </summary>
        public String CompanyRegionName { set; get; }

        /// <summary>
        /// 统一用户名
        /// </summary>
        public String FormatedUserName { set; get; }

        /// <summary>
        ///积分 
        /// </summary>
        public int CompanyGrade { set; get; }

        /// <summary>
        /// 公司注册日期
        /// </summary>
        public DateTime CompanyRegisteDate { set; get; }

        /// <summary>
        /// 公司类型 
        /// </summary>
        public int CompanyType { set; get; }

        /// <summary>
        /// 公司性质
        /// </summary>
        public int CompanyProperty { set; get; }

        /// <summary>
        /// 公司邮编
        /// </summary>
        public String CompanyPostalCode { set; get; }
        
        /// <summary>
        /// 公司期望
        /// </summary>
        public String Forward { set; get; }

        /// <summary>
        /// 联系人Email
        /// </summary>
        public String UserEmail { set; get; }

        /// <summary>
        /// 公司传真号码
        /// </summary>
        public String CompanyFax { set; get; }

        /// <summary>
        /// 公司工商税务号
        /// </summary>
        public String CompanyBusinessNumber { set; get; }

        /// <summary>
        /// 公司注册资金
        /// </summary>
        public Decimal CompanyRegisteFund { set; get; }

        /// <summary>
        /// 公司名称
        /// </summary>
        public String CompanyName { set; get; }

        /// <summary>
        /// 用户所属省的Id
        /// </summary>
        public int CompanyProvinceId { set; get; }
        /// <summary>
        /// 用户所属城市id
        /// </summary>
        public int CompanyCityId { set; get; }
    }
}
